# from django.contrib import admin
# from daasPackage.models import Product
#
#
# # Register your models here.
#
# class ProductAdmin(admin.ModelAdmin):
#     list_display = ('productname', 'productdesc', 'producter', 'create_time', 'id')
#
#
# admin.site.register(Product, ProductAdmin)
from django.contrib import admin
from daasPackage.models import ManualPackage


class ManualPackageAdmin(admin.ModelAdmin):
    list_display = ('id', 'status', 'images', 'work_pod', 'start_time', 'end_time')
    list_filter = ('id', 'status', 'work_pod')
    search_fields = ('id', 'status', 'images', 'work_pod', 'start_time', 'end_time')

admin.site.register(ManualPackage, ManualPackageAdmin)
